package com.hfi.qinxiaobo151;

import org.junit.Test;

import java.util.Scanner;

/**
 * @author ChangLiang
 * @date 2018/9/3
 */
public class Item2_1 {

   public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        System.out.print("请输入多个数字判断奇偶：");
        while(input.hasNextInt()){
            int i = input.nextInt();
            String str =i+ "->" + (i%2 ==0?"偶数":"奇数0");
            System.out.println(str);

        }
    }
}
